// pageEcharts/cookbook/cookbook.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    flag: false,
    list: [{
        label: '周一',
        value: 'Monday'
      },
      {
        label: '周二',
        value: 'Tuesday'
      },
      {
        label: '周三',
        value: 'Wednesday'
      },
      {
        label: '周四',
        value: 'Thursday'
      },
      {
        label: '周五',
        value: 'Friday'
      },
      {
        label: '周六',
        value: 'Saturday'
      },
      {
        label: '周日',
        value: 'Sunday'
      }
    ],
    cookbookData: {
      breakfastTitle: '早餐：鸡蛋炒米，放的有鸡蛋、胡萝卜、黄瓜、洋葱、香菇、姜和几块羊肉丁，配一杯果汁。',
      breakfastImg: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F1a321fe5-a8bc-4f5e-82ab-802903f9b5e3%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1690964522&t=7650bdf700c96f20489b775be25ae4c8',
      lunchTitle: '午餐：杂粮面疙瘩汤，放的有小酥肉、信阳豆筋、西红柿、上海青，配一小碟儿涪陵榨菜。',
      lunchImg: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2F69376d3c-200b-4dfb-8794-8cd0b60d11a2%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1690964522&t=1b8d6fb939be286a1e8e9117a0b1461f',
      afternoonTea: '下午茶：水果荔枝',
      afternoonTeaImg: 'https://img-qn.51miz.com/preview/photo/00/01/56/04/P-1560420-DD2C63D2O.jpg',
      dinnerTitle: '晚餐：吃烧烤，四个凉菜有圣女果、花生毛豆、豆腐莲藕、黄瓜皮蛋，烧烤的有羊肉、鸡翅、香菇、鱼豆腐。',
      dinnerImg: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw1%2Ff19f2188-8906-43e6-a535-1eb0b5719863%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1690964522&t=7e4906c639d6b078280e1fe62239d587'
    }
  },
  onTabsChange(e) {
    console.log(e);
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})